<template>
	<!--
    	作者：1550495493@qq.com
    	时间：2019-07-24
    	描述：注册管理
    -->
	<div class="Announcements">
		<div class="search-box">
			<div class="fl">
				<input class="user-box user-name" type="button" @click="checkStu" value="通过注册" />
			</div>
			<div class="fr">
				<input class="search-boxs" id="searchSudentVal" type="text"  placeholder="请输入身份证号"/>
				<input class="user-box user-name" @click="searchSudent" type="button" value="检索" />
			</div>
		</div>
		<div class="PressRelease-list">
			<table>
				<thead>
					<tr>
						<th class="table-text-th1">标题</th>
						<th class="table-text-th2">姓名</th>
						<th class="table-text-th2">身份证号</th>
						<th class="table-text-th1">从事行业</th>
						<th class="table-text-th1">联系方式</th>
						<th class="table-text-th1">操作</th>
					</tr>
				</thead>
				<tbody>
        <tr v-for="model in allStudent">
          <td><label><input :data-phone="model.phone" type="checkbox" :data-id="model.id" :data-name="model.name" :data-identityCard="model.identityCard" name="checkedStudent" :data-industry="model.industry"
                            :data-reserved="model.reserved"
                            :data-reserved2="model.reserved2"
          ><i>✓</i></label></td>
          <td>{{model.name}}</td>
          <td>{{model.identityCard}}</td>
          <td>{{model.industry}}</td>
          <td>{{model.phone}}</td>
          <td><input type="button" value="通过" @click="through(model.id, model.identityCard, model.name, model.phone, model.industry)" class="delete write" /></td>
        </tr>

				</tbody>
			</table>
			<!--total  数据总数   size  一页多少条数据   page  当前页码    changge 返回当前选择的页码  改变一页显示条 child  返回值就是一页显示条数  -->
			<pageination :total="total" :size="size" :page="page" :changge="pageFn" @child="obtainChild"></pageination>
		</div>
	</div>

</template>
<script src="./RegistrationManagement.js"></script>

<style scoped>
	@import "RegistrationManagement.css"
</style>
